home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
WASTE Object Handlers 1.2.2.sit
/
WASTE Object Handlers 1.2.2
/
Handler Headers
/
WE_snd_Handler.h
< prev
next >
Wrap
Text File
|
1996-03-28
|
907b
|
36 lines
#ifndef __SOUND__
#include <Sound.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
void InitSoundObjectHandler( void );
pascal OSErr HandleNewSound(Point *defaultObjectSize,WEObjectReference objectRef);
pascal OSErr HandleDisposeSound( WEObjectReference objectRef );
pascal OSErr HandleDrawSound(Rect *destRect, WEObjectReference objectRef );
pascal Boolean HandleClickSound( Point hitPt,
short modifiers,
long clickTime,
WEObjectReference objectRef);
SndChannelPtr CreateNewSoundChannel( void );
#ifdef __cplusplus
}
#endif
#define kSoundIconID 550
#define kTypeSound 'snd '
//
// If you want the sound object handler's sound channel to
// be create on initialization, define CREATE_CHANNEL_AT_INIT
// to the value 1. Define CREATE_CHANNEL_AT_INIT to the value
// 0 if you want the channel to be created when first needed.
//
#define CREATE_CHANNEL_AT_INIT 1